package com.lei.springbootpractice.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value="t_user")
public class UserPojo {
    @TableId(value="userID",type= IdType.ASSIGN_ID)
    private String userID;
    @TableField(value="userName")
    private String userName;
    @TableField(value="password")
    private String password;
    @TableField(value="email")
    private String email;
    @TableField(value = "role")
    private String role;
}